/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 */
package com.lehe.dao;

import com.lehe.entry.AdminRoleDto;
import com.lehe.entry.AdminUserDto;
import com.lehe.entry.SqlParameterDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 类的功能描述
 *
 * @author 王丹
 * @since 2017-03-05
 */
@Mapper
public interface AdminRoleDao {

    AdminRoleDto queryById(@Param("id") Long adminRoleId);

    List<AdminRoleDto> queryAll(@Param("parameter") SqlParameterDto sqlParameterDto);

    Long queryAllCount(@Param("parameter") SqlParameterDto sqlParameterDto);

    Integer updateAdminRoleById(AdminRoleDto adminRoleDto);

    Integer insertAdminRole(AdminRoleDto adminRoleDto);
}
